package com.sicheng.metadata.se.exp.third;

/**
 * @author zsc
 * @version 1.0
 * @date 2021/10/21 17:08
 */
public class Test {
    public static void main(String[] args) {

        Vehicle vehicle = new Vehicle(100, 100);
        vehicle.move();

        vehicle.speedUp();
        vehicle.speedUp();
        vehicle.speedUp();
        vehicle.speedUp();
        System.err.println("=======");
        vehicle.move();

        vehicle.speedDown();
        vehicle.speedDown();
        System.err.println("=======");
        vehicle.move();


    }
}
